Cap detectors check whether the caps are in the correct position, and if necessary, whether they are provided with the required induction seal. The rejected caps are then ejected to a drain or drain hose.